package com.cyp.userservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "common-service", url = "http://localhost:8081")
public interface CommonServiceClient {

    @GetMapping("/api/common/hello")
    String sayHello();
}